package work3_9;

import java.util.LinkedList;

public class Demo {
    public static void main(String[] args) {
        LinkedList list=new LinkedList();
        list.add("a");
        list.add("b");
        list.add("c");
        list.add(1,"zzz");
        System.out.println(list);
        System.out.println(list.remove(1));
        System.out.println(list);
    }
}
